#ifndef _cesium_file_writer_stage_hpp_
#define _cesium_file_writer_stage_hpp_

#include <fstream>
#include "cesium/stage.hpp"

namespace Cesium {

class FileWriterStage : public Stage {
public:
    FileWriterStage(const std::string& filename);
    virtual ~FileWriterStage();

    virtual void signal(Stage* src, Buffer* data, BufferRange range);
private:
    std::ofstream outputFileStream;
}; // class FileWriterStage

} // namespace Cesium

#endif //_cesium_file_writer_stage_hpp_
